package com.btm.common.model;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class PageResult<T> {
    private List<T> data;
    private boolean hasNext;

    public PageResult() {}

    public PageResult(List<T> data, boolean hasNext) {
        this.data = data;
        this.hasNext = hasNext;
    }

} 